<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-binddemo</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
<div id="app">
    <img v-bind:src="imgSrc" v-bind:alt="imgAlt" v-bind:title="imgAlt">

</div>
<script>
    const app = new Vue({
        el:"#app",
        data:{
            imgSrc:"img.png",
            imgAlt:"这是一张图片"
        },
        methods:{}
    })
</script>
</body>
</html>
